//
//  HSSystemConfig.m
//  HolyShit
//
//  Created by Robin on 2016/10/9.
//  Copyright © 2016年 linbei. All rights reserved.
//

#import "HSSystemConfig.h"

#pragma mark - app config

NSString *const onKey = @"on";
NSString *const urlKey = @"url";
NSString *const safeKey = @"1234567887654321";
NSString *const newTypeKey = @".csr";
NSString *const onNameKey = @"onSwitch";
NSString *const offNameKye = @"offSwitch";
NSString *const configPath = @"http://config.offerhave.com";
NSString *const userNameKey = @"loginUserName";
NSString *const collectionKey = @"collectionKey";
NSString *const NoPicKey = @"NoPicKey";

const NSUInteger appNavColor = 0x0fca5e;
const NSUInteger appType = HSAppTypeCaiPiao;

#pragma mark - http config

NSString *const AppHost = (appType == HSAppTypeTiYu) ? @"http://sports.forums.offerhave.com/" : (appType == HSAppTypeCaiPiao ? @"http://forums.offerhave.com/" : @"http://entertainment.forums.offerhave.com/");
NSString *const TagPath = @"api/tags";
NSString *const DiscussPath = @"api/discussions";
NSString *const PostPath = @"api/posts";


const CGFloat kYSLMenuHeight = 40;
#pragma mark - font
const CGFloat Font36 = 18;
const CGFloat Font34 = 17;
const CGFloat Font32 = 16;
const CGFloat Font30 = 15;
const CGFloat Font28 = 14;
const CGFloat Font26 = 13;
const CGFloat Font24 = 12;
const CGFloat Font22 = 11;

#pragma mark - margin
const CGFloat Margin12 = 6;
const CGFloat Margin20 = 10;
const CGFloat Margin30 = 15;
const CGFloat Margin40 = 20;
const CGFloat Margin80 = 40;
const CGFloat Margin88 = 44;
const CGFloat Margin140 = 70;

#pragma mark - color
const NSUInteger HSColorRed = 0xff4666;
const NSUInteger HSColorPink = 0xff7089;
const NSUInteger HSColorBlack = 0x535353;
const NSUInteger HSColorGray = 0x969696;
const NSUInteger HSColorBlue = 0x4691ee;
const NSUInteger HSColorLightGray = 0xc7c7cd;
const NSUInteger HSColorGreen = 0x009900;
const NSUInteger HSColorBgLight = 0xF8F8F8;
const NSUInteger HSColorBgDark = 0xF8F8F8;
const NSUInteger HSColorTabbarBg = 0xfafafa;
const NSUInteger HSColorSeparateDark = 0xc8c7cc;
const NSUInteger HSColorSeparateLight = 0xe2e2e2;

#pragma mark - notification
NSString *const HSNotificationTopicImageTabbed = @"HSNotificationTopicImageTabbed";

@implementation HSSystemConfig

@end
